import request from '@/utils/request';

export const addCartAPI = ({skuId, count}) => request.post('/member/cart',{skuId, count})

export const getCartListAPI = () => request.get('/member/cart')

export const deleteCartAPI = (ids) => request.delete('/member/cart/' ,{data:{ids}})
// 合并购物车
export const mergeCartApi= (data) => request.post('/member/cart/merge',data)